package com.gofun.framework.core.mybatis;

/**
 * redis key 集中类
 * @author litianyi
 *
 * 2016年2月17日
 */
public class RedisKey {
	//验证码
	public final static String SMS_CODE = "SMS_CODE";
	//手机号
	public final static String SIM = "SIM";
	//TOKEN
	public final static String TOKEN = "TOKEN";
	//确认用车
	public final static String CAR_BE_ORDERED = "CAR_BE_ORDERED";
	//订单操作
	public final static String ORDER_START = "ORDER_START";
	//取消订单
	public final static String CANCEL_ORDER_COUNT = "CANCEL_ORDER_COUNT";
	
	public final static String PECCANCY_PAY = "PECCANCY_PAY";
	
	public final static String CHARGE_PAY = "CHARGE_PAY";
	
	public final static String USER_LOGIN = "USER_LOGIN";
	
	public final static String USER_LOGIN_COUPON = "USER_LOGIN_COUPON";
	
	public final static String LONLAT = "LON_LAT";
	
	public final static String CAR_LOWSPEED_REMIND = "CAR_LOWSPEED_REMIND";
	
	public final static String WEIXIN_JSAPI_TICKET = "WEIXIN_JSAPI_TICKET";
	
	public final static String WEIXIN_JSAPI_TOKEN = "WEIXIN_JSAPI_TOKEN";
	
	public final static String JUMP_CAR_AFTER_IMAGE = "JUMP_CAR_AFTER_IMAGE";
	
	public final static String RED_ENVELOPE_CHANGE_PHONE = "RED_ENVELOPE_CHANGE_PHONE";
	//充电token
	public final static String CHARGE_TOKEN = "CHARGE_TOKEN";
	//回调token
	public final static String CHARGE_CALLBACK_TOKEN = "CHARGE_CALLBACK_TOKEN";
	//订单充电
	public final static String ORDER_CHARGE = "ORDER_CHARGE";
	//充电发优惠券
	public final static String CHARGE_USERID = "CHARGE_USERID";
	//首次使用此类型车
	public final static String FIRST_USE_CAR = "FIRST_USE_CAR";
	//订单人脸识别次数
	public final static String FACE_ORDER_COUNT = "FACE_ORDER_COUNT";
	//更新开始里程消息队列
	public final static String UPDATE_START_MILEAGE_QUEUE = "UPDATE_START_MILEAGE_QUEUE";
	//更新开始里程消息临时队列
	public final static String TEMP_UPDATE_START_MILEAGE_QUEUE = "TEMP_UPDATE_START_MILEAGE_QUEUE";
	//是否开门过
	public final static String ORDER_OPEN_DOOR = "ORDER_OPEN_DOOR";
	//退款申请
	public final static String USER_DEPOSIT_REFUND_APPLY = "USER_DEPOSIT_REFUND_APPLY";
	
	public final static String WORKSHEETNO="WORKSHEETNO";
	
	public final static String PUSH = "PUSH";
	//车辆轨迹
	public final static String CAR_TRACKS = "CAR_TRACKS";
	public final static String CAR_TRACKS_LENGTH = "CAR_TRACKS_LENGTH";
	//-----------------cacheable使用key-----------------------------
	//缓存表
	public final static String CACHE_CITY = "city";
	
	//生成key
	public static String getKey(String prefix, String key) {
		return prefix + ":" + key;
	}

}
